﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OWASP.CodeReview.CodeCrawler.Engine
{
   public class Threat
    {
        // Still not implemented
        public bool IsExploitable { get; set; }
        
        // KeyPointer
        public string Name { get; set; }
        
        // Level
        public OWASP.CodeReview.CodeCrawler.Enums.ThreatLevel Level { get; set; }
        
        // OWASP Description
        public string Description { get; set; }

        // Line of Code
        public int LineOfCode { get; set; }

        // Owasp Guide Lines
        public string OwaspGuideLines { get; set; }

        public Threat()
        {
            this.IsExploitable = false;
            this.Name = string.Empty;
            Enums.ThreatLevel level = new OWASP.CodeReview.CodeCrawler.Enums.ThreatLevel();
            this.Level = level;
            this.Description = string.Empty;
            this.LineOfCode = 0;
            this.OwaspGuideLines = string.Empty;
        }
    }
}